# - Config file for the osgWorks package
# It defines the following variables
#  OSGWORKS_INCLUDE_DIRS - include directories for osgWorks
#  OSGWORKS_LIBRARIES    - libraries to link against
#  OSGWORKS_EXECUTABLE   - the bar executable

@PACKAGE_INIT@

# These are IMPORTED targets created by osgWorksLibraryDepends.cmake
set(OSGWORKS_LIBRARIES "osgwTools;osgwQuery;osgwMx;osgwControls" )
set(OSGWORKS_EXECUTABLE test)

# Compute paths
# get_filename_component(OSGWORKS_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
if(EXISTS "${PACKAGE_PREFIX_DIR}/CMakeCache.txt")
    # In build tree
    include("${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgWorksBuildTreeSettings.cmake")
    # Our library dependencies (contains definitions for IMPORTED targets)
    include("${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgWorksLibraryDepends.cmake")
else()
    set_and_check(OSGWORKS_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include")
    # The osgWorks targets file.
    if(EXISTS "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgworks-targets.cmake")
        include("${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/osgworks-targets.cmake")
    endif()
endif()

# The location of the UseosgWorks.cmake file.
set(osgWorks_USE_FILE "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_LIBDIR@/UseosgWorks.cmake")
